home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Floppyshop 2
/
Floppyshop - 2.zip
/
Floppyshop - 2.iso
/
diskmags
/
0022-3.564
/
dmg-3451
/
data
/
ramload.dat
< prev
next >
Wrap
Text File
|
1987-04-21
|
2KB
|
58 lines
STOS ram-disk loader.
Wheee the fibble.
This is just a little program to let we people with loads of
memory to squander, whether or not to load in the STOS ram-disk on
boot up (as it's a real pain if you don't want it).
To use it you'll have to copy the ram-disk program onto the
root directory of your STOS disk (not in the auto folder!). Then
copy the RAMLOAD.PRG into the auto folder. Now you'll have to
make sure it's loaded first on boot-up. It's probably quickest to
just delete the basic206.prg in the auto folder and the copy the
one from the root directory back in again.
Now when you boot STOS you'll be asked whether or not to load
the ram disk, so press Y or N according to what you want to do...
Also, you could save this basic file onto your STOS disk root
directory called "autoexec.bas":
10 on error goto 70
Error trap in case of no ramdisk.
20 drive=2
"Spring the trap"... If no ramdisk is installed, then it
won't bother copying the compiler over to drive C.
Incedently, does the compiler manual amention anything about
copying the compiler over? I've lost mine, and I can't remember
what it said about it...
30 print "Copying COMPILER.ACB..."
Be friendly, print up a nice message.
40 open in #1,"a:\compiler.acb" : L=lof(#1) : close #1
Get the length.
50 reserve as work 10,L+256 : bload "a:\compiler.acb",10
Load it in.
60 bsave "c:\compiler.acb",start(10) to start(10)+L+128 : goto 80
And save it out.
70 resume 80
If there was no ramdisk, then reset the error thing.
80 drive=1 : put key "hexaoff:new`" : end
Go to drive B (if you have 2 drives anyway), turn off
hexadecimal for the bank listings and new the program.
note from editor: Ram-disk means "soup's off" in the kitchens of
Hungaria.